<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MMAChalenge</title>

<link href="<?php echo base_url(); ?>css/layout.css" media="screen"
	rel="stylesheet" type="text/css" />
<script type="text/javascript"
	src="<?php echo base_url(); ?>js/jquery-2.0.js"></script>
</head>
<body>
 
<div id="conteudo">
      <?php $this->view($pagina); ?> 
 </div>
</body>

<script type="text/javascript">

   function tt(){
		$.get('home/register',{},function(data){
		    if(data.success){
			    $('#conteudo').contents().remove();
			    $('#conteudo').append(data.view);
		    }
		},'json')

   }
   

</script>

</html>
